﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using DWF.Studio.ScriptEngine.IPC.Msg;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.ISerivces
{
    /// <summary>
    /// 脚本
    /// </summary>
    internal interface IEngineIPCService : IService
    {
        string GetPipeName();

        void Start();

        void Stop();

        void Send(DownwardMsg msg);

        void AddReceiveAction(Action<UpwardMsg> action);

        void RemoveReceiveAction(Action<UpwardMsg> action);
    }
}
